package 面向对象高级.例子1;

public class 三角形 extends 图形{
    private int a;//低
    private int b;//高

    @Override
    public int getArea() {
        return a*b/2;
    }
}
